<script src="lib/plupload-2.1.2/js/plupload.full.min.js"></script>

<div class="row">
    <div class="col-lg-12">
        <div class="panel panel-primary">
            <div class="panel-heading">
                <strong>
                    <div ng-hide="id">
                        添加市场开发步骤
                    </div>
                </strong>
            </div>

            <div class="panel-body">
                <form class="form-horizontal" role="form" ng-submit="createOrUpdate()">
                    <div class="form-group" ng-show="error_msg">
                        <div class="col-sm-offset-1 col-sm-11">
                            <div class="alert alert-danger" role="alert">{{error_msg}}</div>
                        </div>
                    </div>

                    <input type="hidden" class="form-control" id="id" ng-model="id">

                    <div class="form-group span6">
                        <label for="step" class="col-sm-2 control-label">步骤</label>

                        <div class="col-sm-4">
                            <input type="text" required="true" class="form-control" id="step" placeholder="请输入步骤"
                                   ng-model="step">
                        </div>
                    </div>

                    <div class="form-group">
                            <label for="name" class="col-sm-2  control-label">人员</label>

                            <div class="col-sm-4">
                                <input type="text" required="true" class="form-control" id="name" placeholder="请输入人员"
                                       ng-model="name">
                            </div>
                    </div>

                    <div class="form-group">

                        <label for="version_desc" class="col-sm-2 control-label">事件.版本</label>
                        <div class="col-sm-4">
                            <input type="text" required="true" class="form-control" id="version_desc" placeholder="" ng-model="version_desc">
                        </div>
                        <div id="percentage" class="col-sm-1" />
                        <div id="container_version_desc" class="col-sm-3">
                            <a id="browser_version_desc" href="javascript:;">[选择文件...]</a>
                        </div>
                    </div>

                    <div class="form-group">
                        <label for="hospital_officer" class="col-sm-2  control-label">院长/主任</label>

                        <div class="col-sm-6">
                            <input type="text" required="true" class="form-control" id="hospital_officer" placeholder="请输入院方联系人"
                                   ng-model="hospital_officer">
                        </div>
                    </div>

                    <div class="form-group">
                        <label for="hospital_phone" class="col-sm-2  control-label">联系方式</label>

                        <div class="col-sm-6">
                            <input type="text" required="true" class="form-control" id="hospital_phone" placeholder="请输入院方联系方式"
                                   ng-model="hospital_phone">
                        </div>
                    </div>

                    <div class="form-group">
                        <label for="desc" class="col-sm-2 col-sm-offset-0 control-label">进展/困难</label>

                        <div class="col-sm-6">
                            <textarea class="form-control"  class="form-control" id="desc"
                                  ng-model="desc" rows="3"></textarea>
                        </div>
                    </div>

                    <div class="form-group">
                        <div class="col-sm-4 col-sm-offset-4">
                            <div class="checkbox">
                                <label>
                                    <input ng-model="finished" type="checkbox"> 是否完成市场开发
                                </label>
                            </div>
                        </div>
                    </div>

                    <div class="form-actions">
                        <button type="submit" class="btn btn-default col-sm-offset-4 col-sm-1">确定</button>
                        <button type="button" class="btn col-sm-1 cancel_btn" ng-click="cancel()">取消</button>
                    </div>
                </form>
            </div>
        </div>
    </div>
</div>